-
Home
-
Jetpack – WP Security, Backup, Speed, & Growth
-
11.7.1
-
Code
-
Classes
- REST_Controller
| Total Complexity |
49 |
| Dependencies |
6 |
| Dependents |
1 |
| Total lines |
402 |
| Lines of code |
250 |
| Logical lines of code |
95 |
| Comment lines |
93 |
| Methods |
12 |
| Properties |
2 |
Methods 12
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_stats_resource() |
B |
45 |
18 |
40 |
| request_as_blog_cached() |
A |
49 |
7 |
31 |
| get_single_post_likes() |
S |
51 |
5 |
27 |
| get_site_posts() |
S |
51 |
5 |
26 |
| register_rest_routes() |
S |
44 |
1 |
65 |
| get_single_resource_stats() |
S |
59 |
3 |
16 |
| get_single_post() |
S |
62 |
3 |
11 |
| check_user_privileges_callback() |
S |
71 |
3 |
6 |
| site_has_never_published_post() |
S |
60 |
1 |
15 |
| __construct() |
S |
80 |
1 |
3 |
| get_site_stats() |
S |
80 |
1 |
3 |
| get_forbidden_error() |
S |
68 |
1 |
7 |